package com.tensquare.user.dao;

import com.tensquare.user.pojo.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by WF on 2019/9/23 9:21
 */
public interface AdminDao extends JpaRepository<Admin,String> {

    //1.根据登录名查询管理员用户
    Admin findByLoginname(String loginname);

}
